.PHONY:all
all:registry discovery

registry:registry.cc
	g++ -o $@ $^ -std=c++17 -letcd-cpp-api -lcpprest -lgflags -lspdlog

discovery:discovery.cc
	g++ -o $@ $^ -std=c++17 -letcd-cpp-api -lcpprest -lgflags -lspdlog

.PHONY:clean
clean:
	rm -rf registry discovery